//头部菜单
#header-menu {
    height: 30px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;
    .header {
        height: 30px;
    }
    .header ul {
        line-height: 30px;
        float: right;
        li {
            float: left;
            color: #808080;
            margin: 0 5px;
            a {
                color: #808080;
            }
            a:hover {
                color: #b81b22;
            }
            .icon-yinliang {
                color: #b71c20;
            }
        }
        li:nth-last-child(1) {
            box-sizing: border-box;
            padding-top: 5px;
            position: relative;
            span:nth-child(1) {
                background: url(../../img/jingling.png) no-repeat;
                background-position: -66px -118px;
                float: left;
                margin-left: 10px;
                display: inline;
                height: 21px;
                width: 21px;
            }
            span:nth-child(2) {
                background: url(../../img/jingling.png) no-repeat;
                background-position: -43px -120px;
                float: left;
                display: inline;
                height: 21px;
                width: 21px;
            }
            img {
                position: absolute;
                top: 35px;
                right: 45px;
                z-index: 9999;
                display: none;
            }
        }
    }
}

// 搜索框
#search {
    height: 100px;
    .vanksearch {
        .searchbox {
            width: 440px;
            height: 60px;
            margin-top: 25px;
            .searcharea {
                box-sizing: border-box;
                width: 100%;
                height: 30px;
                input {
                    box-sizing: border-box;
                    background-color: rgba($color: #000000, $alpha: 0);
                    width: 260px;
                    height: 30px;
                    float: left;
                    border: 1px solid #c9caca;
                }
                span {
                    text-align: center;
                    line-height: 30px;
                    color: #fff;
                }
                .searchbtn {
                    cursor: pointer;
                    display: inline-block;
                    width: 50px;
                    height: 30px;
                    background-color: #b71c20;
                    float: left;
                }
                .buycar {
                    cursor: pointer;
                    display: inline-block;
                    width: 108px;
                    height: 30px;
                    background-color: #b71c20;
                    float: right;
                    position: relative;
                    border: 1px solid #b81c22;
                    z-index: 1001;
                    a {
                        color: #fff;
                    }
                    span {
                        position: absolute;
                        top: 30px;
                        right: -1px;
                        width: 315px;
                        height: 30px;
                        border: 1px solid #b81c22;
                        background-color: white;
                        display: none;                        
                    }
                    em {
                        display: block;
                        position: absolute;
                        top: 28px;
                        width: 108px;
                        height: 3px;
                        background-color: #fff;
                        display: none;
                    }
                }
            }
            .friendlink {
                margin-top: 5px;
                span {
                    color: #727171;
                    margin-right: 10px;
                }
                a {
                    margin-right: 5px;
                    color: #727171;
                }
            }
        }
    }
}

//菜单导航
#nav {
    height: 50px;
    margin-bottom: 30px;
    .nav {
        height: 50px;
        display: flex;
        justify-content: space-between;
        .logo {
            background: url(../../img/vanklogo.png) no-repeat center;
            display: inline-block;
            width: 185px;
            height: 46px;
        }
        > ul {
            flex-grow: 1;
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
        }
        > ul > li {
            width: 50px;
            color: #727171;
            font-size: 14px;
            flex-grow: 1;
            text-align: center;
            border-right: 1px solid #000;
            position: relative;
            .icon-hot {
                position: absolute;
                top: -7px;
                color: #b71c20;
            }
            cursor: pointer;
            ul {
                display: none;
                background: #fff;
                position: absolute;
                width: 100%;
                top: 32px;
                left: 0;
                z-index: 9;
                border: 1px solid #efefef;
                border-top: 5px solid #b81c22;
                padding: 10px 0px;
                box-sizing: border-box;
                li {
                    margin-bottom: 10px;
                }
            }
        }
    }
}

// 侧边滚动条
#scroll {
    position: fixed;
    height: 100%;
    right: 0px;
    top: 0px;
    width: 6px;
    z-index: 99;
    background: #b71c20;
    .scroll-menu {
        position: absolute;
        top: 30%;
        right: 0px;
        width: 70px;
        height: 280px;
        border: 1px solid #b71c20;
        background: url(../../img/scroll.png) no-repeat center;
        li {
            width: 100%;
            height: 75px;
            a {
                display: block;
                height: 100%;
                width: 100%;
            }
        }
        .backtop {
            height: 56px;
        }
    }
}

// 广告轮播图
#banner {
    height: 535px;
    margin-bottom: 50px;
    .banner {
        height: 535px;
        position: relative;
        .pre-nav {
            position: relative;
            span {
                z-index: 1;
                position: absolute;
                width: 28px;
                height: 60px;
                background: url(../../img/slideshow/arrow.png) no-repeat;
                cursor: pointer;
            }
            .arr-prev {
                left: 20px;
                top: 230px;
            }
            .arr-prev:hover {
                background-position: 0px -61px;
            }
            .arr-next {
                right: 20px;
                top: 230px;
                background-position: -55px 0px;
            }
            .arr-next:hover {
                background-position: -55px -61px;
            }
        }
        ul {
            position: relative;
            width: 1200px;
            height: 535px;
            li {
                position: absolute;
                left: 0px;
                top: 0px;
                cursor: pointer;
            }
        }
        .circle {           
            width: 100%;
            margin: 0 auto;
            z-index: 999;
            font-weight: bold;
            position: absolute;
            top: 455px;
            font-size: 40px;
            color: #fff;
            text-align: center;
            span {
                cursor: pointer;
                margin: 3px;
            }
            .currentcircle {
                color: #b81c22;
            }
        }
    }
}

// 倒计时 秒杀
#recharge {
    height: 600px;
    .recharge {
        height: 53px;
        a {
            display: block;
            width: 100%;
            height: 100%;
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
    .countdown {
        margin-top: 10px;
        height: 250px;
        .condown-top {
            line-height: 40px;
            height: 40px;
            p {
                float: left;
            }
            P:nth-child(1) {
                font-size: 16px;
                font-weight: bold;
                color: #191919;
                font-family: "黑体";
                margin-left: 5px;
                span {
                    color: #b31a1d;
                }
            }
            P:nth-child(2) {
                color: #333;
                margin-left: 20px;
                #hh,
                #mm,
                #ss {
                    background-color: black;
                    padding: 3px;
                    border-radius: 5px;
                    color: white;
                }
            }
            P:nth-child(3) {
                float: right;
                margin-right: 30px;
                a {
                    color: #333;
                }
            }
        }
        .condown-buynow {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            li {
                width: 30%;
                height: 150px;
                flex-grow: 1;
                border-right: 1px solid #000;
                padding-top: 30px;
                a {
                    display: block;
                    width: 370px;
                    height: 120px;
                    margin: 0 auto;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            li:nth-child(3) {
                border-right: none;
            }
        }
        .coupon {
            height: 280px;
            overflow: hidden;
            li {
                float: left;
            }
        }
    }
}

// 主体内容
#content {
    ul li a {
        display: block;
    }
    h2 {
        text-align: center;
        line-height: 50px;
        margin: 30px 0px;
        font-family: "Microsoft YaHei";
        color: #9a9a9a;
        font-size: 16px;
    }
    .recommend1,
    .recommend2 {
        display: flex;
        height: 510px;
        margin-bottom: 15px;
        li {
            flex-grow: 1;
            a {
                font-size: 0;
                display: block;
                overflow: hidden;
            }
        }
        li:nth-child(2) {
            margin: 0 17px;
            display: flex;
            flex-wrap: wrap;
            align-content: space-between;
        }
        p {
            height: 28px;
            padding: 20px 12px;
            line-height: 28px;
            border: 1px solid #e8e7ec;
            border-top: 0px;
            font-family: "Microsoft YaHei";
            font-size: 14px;
            span:nth-child(2) {
                color: #a10000;
                font-family: Arial;
                line-height: 24px;
                font-size: 14px;
                em {
                    font-size: 20px;
                    padding-left: 10px;
                    font-weight: bold;
                }
            }
        }
    }
    .recommend3 {
        display: flex;
        height: 510px;
        justify-content: space-between;
        li {
            width: 285px;
            margin-right: 20px;
            margin-bottom: 20px;
            p {
                height: 28px;
                padding: 20px 12px;
                line-height: 28px;
                border: 1px solid #e8e7ec;
                border-top: 0px;
                font-family: "Microsoft YaHei";
                font-size: 14px;
                span:nth-child(2) {
                    color: #a10000;
                    font-family: Arial;
                    line-height: 24px;
                    font-size: 14px;
                    em {
                        font-size: 20px;
                        padding-left: 10px;
                        font-weight: bold;
                    }
                }
            }
        }
    }
    .morepic {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        height: 570px;
        align-content: space-between;
        margin-bottom: 80px;
    }
    a {
        font-size: 0;
        display: block;
        overflow: hidden;
    }
}

// 底部
#footer {
    .fot-top {
        box-sizing: border-box;
        overflow: hidden;
        height: 282px;
        padding: 0px 40px 0px;
        border: 1px solid #e0e0e1;
        font-family: "Microsoft YaHei";
        margin-bottom: 25px;
        padding-top: 30px;
        ul:nth-child(1) {
            display: flex;
            justify-content: space-around;
            margin-bottom: 50px;
            li {
                width: 370px;
                height: 138px;
                border-right: 1px solid #e0e0e1;
                margin-right: 0px;
                p {
                    text-align: center;
                    font-size: 14px;
                    color: #727171;
                    line-height: 26px;
                    span {
                        color: #a10000;
                    }
                }
                .onlinelogo {
                    margin: 15px auto 30px;
                }
                .onlinekefu {
                    margin: 0px auto;
                    width: 156px;
                    height: 32px;
                    text-align: center;
                    line-height: 32px;
                    font-size: 14px;
                    background: #b81c22;
                    color: #ffffff;
                }
                .seven {
                    margin: 20px 0px;
                }
                .qr img {
                    width: 104px;
                    height: 104px;
                }
            }
            li:nth-child(3) {
                border-right: 0px;
            }
        }
        ul:nth-child(2) {
            display: flex;
            justify-content: space-between;
            text-align: center;
            height: 55px;
            background-color: #f8f8f8;
            align-items: center;
            li {
                line-height: 26px;
                height: 26px;
                flex-grow: 1;
                border-right: 1px solid #e0e0e1;
                a {
                    color: #323232;
                }
            }
            li:nth-last-child(1) {
                border-right: 0px;
            }
        }
    }
    .fot-bot {
        hr {
            margin-bottom: 10px;
        }
        p {
            text-align: center;
            line-height: 25px;
            color: #3e3a39;
            font-family: "Microsoft YaHei";
            a {
                color: #3e3a39;
            }
            a:hover {
                color: #b31a1d;
            }
        }
        .fot-link {
            margin: 20px 0px 10px;
            .costumeOrg {
                background: url(../../img/jingling.png) scroll 0 -629px transparent;
                display: inline-block;
                height: 45px;
                width: 156px;
            }
            .vanclMsg {
                display: inline-block;
                background: url(../../img/jingling.png) no-repeat scroll -97px -675px transparent;
                display: inline-block;
                height: 42px;
                width: 101px;
                margin: 0 15px;
            }
            .vanclqingNian {
                background: url(../../img/jingling.png) no-repeat scroll -202px -675px transparent;
                display: inline-block;
                height: 42px;
                width: 42px;
            }
        }
    }
}
